<#include "/macro.include"/>
<#include "/java_copyright.include">
package ${basepackage}.entity.${module};

import java.io.Serializable;
import java.util.Date;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

<#include "/java_imports.include">

/**
 * <b>function:</b> ${table.remarks!}
 * @author ${author}
 * @createDate <#if now??>${now?string('yyyy-MM-dd HH:mm:ss')}</#if>
 * @file ${table.className}.java
 * @package ${basepackage}.entity.${module}
 * @project ${app}
 * @blog ${blog}
 * @email ${email}
 * @version 1.0
 */
public class ${table.className} implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	<#list table.columns as column>
	/** ${column.remarks!column.columnNameFirstLower} */
	private ${column.simpleJavaType} ${column.columnNameFirstLower};
	</#list>
	
	<#list table.columns as column>
	/** ${column.remarks!column.columnNameFirstLower} */
	public void set${column.columnName}(${column.simpleJavaType} ${column.columnNameFirstLower}) {
		this.${column.columnNameLower} = ${column.columnNameFirstLower};
	}
	
	/** ${column.remarks!column.columnNameFirstLower}*/
	public ${column.simpleJavaType} get${column.columnName}() {
		return this.${column.columnNameLower};
	}
	</#list>
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
	}
}